package org.infodavid.common.model;

import org.infodavid.common.persistence.IBasicDataObject;
import org.infodavid.common.persistence.INamed;


/**
 * The Interface IImageData.
 */
public interface IImageData extends IBasicDataObject, INamed {

  /**
   * The Enum EUriType.
   */
  enum EImageType {

    /** The PNG. */
    PNG,

    /** The JPEG. */
    JPEG,

    /** The GIF. */
    GIF
  }

  /** The TYPE. */
  String TYPE = "type";

  /** The VALUE. */
  String VALUE = "value";

  /**
   * Gets the value.
   * @return the value
   */
  byte[] getValue();

  /**
   * Sets the value.
   * @param value the value
   */
  void setValue(byte[] value);

  /**
   * Gets the type.
   * @return the type
   */
  EImageType getType();

  /**
   * Sets the type.
   * @param value the value
   */
  void setType(EImageType value);
}
